package com.example.demo.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class Dept {
    private BigDecimal id;

    private String name;

    private BigDecimal parentid;

    private BigDecimal orderno;

    private String address;

    private String post;

    private String tel;

    private String mobile;

    private String internet;

    private String fax;

    private String email;

    private String state;

    private String zztype;

    private String depttype;

    private BigDecimal creater;

    private Date createtm;

    private BigDecimal updater;

    private Date updatetm;

    private String loginid;

    private String password;

    private Date regtm;

    public BigDecimal getId() {
        return id;
    }

    public void setId(BigDecimal id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public BigDecimal getParentid() {
        return parentid;
    }

    public void setParentid(BigDecimal parentid) {
        this.parentid = parentid;
    }

    public BigDecimal getOrderno() {
        return orderno;
    }

    public void setOrderno(BigDecimal orderno) {
        this.orderno = orderno;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post == null ? null : post.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getInternet() {
        return internet;
    }

    public void setInternet(String internet) {
        this.internet = internet == null ? null : internet.trim();
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax == null ? null : fax.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getZztype() {
        return zztype;
    }

    public void setZztype(String zztype) {
        this.zztype = zztype == null ? null : zztype.trim();
    }

    public String getDepttype() {
        return depttype;
    }

    public void setDepttype(String depttype) {
        this.depttype = depttype == null ? null : depttype.trim();
    }

    public BigDecimal getCreater() {
        return creater;
    }

    public void setCreater(BigDecimal creater) {
        this.creater = creater;
    }

    public Date getCreatetm() {
        return createtm;
    }

    public void setCreatetm(Date createtm) {
        this.createtm = createtm;
    }

    public BigDecimal getUpdater() {
        return updater;
    }

    public void setUpdater(BigDecimal updater) {
        this.updater = updater;
    }

    public Date getUpdatetm() {
        return updatetm;
    }

    public void setUpdatetm(Date updatetm) {
        this.updatetm = updatetm;
    }

    public String getLoginid() {
        return loginid;
    }

    public void setLoginid(String loginid) {
        this.loginid = loginid == null ? null : loginid.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getRegtm() {
        return regtm;
    }

    public void setRegtm(Date regtm) {
        this.regtm = regtm;
    }
}